﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Adm.Master" AutoEventWireup="true" CodeBehind="formConfigAgenda.aspx.cs" Inherits="PROAD.admin.Forms.formConfigAgenda" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="IncludeHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="IncludeTitulo" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="IncludeLink" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="IncludeConteudo" runat="server">
    <h2>Configuração de marcação de Agenda </h2>
    
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>

    <table width="100%">
        <tr>
            <td>AD1 - Dias para próxima agenda</td>
            <td>AD2 - Dias para próxima agenda</td>
            <td>AD3 - Dias para próxima agenda</td>
            <td></td>                     
        </tr>
        <tr>
            <td>
                <asp:TextBox ID="txtAD1" MaxLength="2" runat="server" Width="150px"></asp:TextBox>
                <asp:FilteredTextBoxExtender ID="FiltertxtAD1" TargetControlID="txtAD1" FilterType="Numbers" runat="server">
                </asp:FilteredTextBoxExtender>
            </td>
            <td>
                <asp:TextBox ID="txtAD2" MaxLength="2" runat="server" Width="150px"></asp:TextBox>
                <asp:FilteredTextBoxExtender ID="FiltertxtAD2" TargetControlID="txtAD2" FilterType="Numbers" runat="server">
                </asp:FilteredTextBoxExtender>
            </td>
            <td>
                <asp:TextBox ID="txtAD3" MaxLength="2" runat="server" Width="150px"></asp:TextBox>
                <asp:FilteredTextBoxExtender ID="FiltertxtAD3" TargetControlID="txtAD3" FilterType="Numbers" runat="server">
                </asp:FilteredTextBoxExtender>
            </td>
            <td><asp:Button ID="btnGravarConfig" runat="server" Text="Salvar" 
                    onclick="btnGravarConfig_Click" /></td>
        </tr>
        
    </table>

    <!-- Área de Validação abaixo -->

    <div style="display:none;">
    <asp:HyperLink ID="linkMsn" runat="server">HyperLink</asp:HyperLink>
    </div>

    <asp:ModalPopupExtender ID="ModalPopupMsn" TargetControlID="linkMsn" runat="server"
        PopupControlID="PainelMsn" CancelControlID="btnCancelarMsn"
        BackgroundCssClass="modalBackground">
    </asp:ModalPopupExtender>

    <asp:Panel ID="PainelMsn" runat="server" Style="display:none" Width="350px" CssClass="modalPopup">
        <asp:Panel ID="PainelCabecalho" runat="server" Style="border-bottom:solid 1px Gray;height:25px;">
            <div>
                <h1 style="line-height:25px;text-align:center;margin:0px 0px 0px 0px;vertical-align:bottom;padding:0px 0px 0px 0px;font-size:14px;font-family:Verdana;background-color:#FFFF95;">
                    <asp:Label ID="txtTituloMsn" runat="server"></asp:Label>
                    
                </h1>
            </div>
        </asp:Panel>
        <div>
            <br />
            <h2 style="margin:0px 0px 0px 0px;font-family:Verdana;font-size:11px;font-weight:normal;line-height:25px;width:100%;text-align:center;">
                <asp:Label ID="txtTextoMsn" runat="server"></asp:Label>
            </h2>
            <br />
            <table width="100%">
                <tr>
                    <td align="center">
                        <asp:Button ID="btnCancelarMsn" runat="server" Text="OK" />
                    </td>
                </tr>
            </table>            
        </div>
    </asp:Panel>

    <!-- Final Área de Validação -->

    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="IncludeRodape" runat="server">
</asp:Content>
